function showPopup(href,w,h){
    if(w == null){
        //w = $(window).width();
        //w = w -550;
    	w = 800;
    }
    if(h == null){
        h = $(window).height();
        h = h-100;
    }
    if(href == null){
        alert('This property not valid. Please choose again!');
    }else{
    	$.modal('<iframe src="'+href+'/ajax/1" width="'+w+'" height="'+h+'" style="border:none"></iframe>',{
    		    		
    	});
//        $.modal('<div class="popupMap" style="width:'+w+'px;height:'+h+'px;"><a class="simplemodal-close modalCloseImg" title="Close"></a><iframe id = "box_popup" src="'+href+'/ajax/1" width="'+w+'" height="'+h+'" style="border:none"></iframe></div>');
//        $('.popupMap').css({position:'absolute',top:'50%',left:'50%',margin:'-'+($('.popupMap').height() / 2)+'px 0 0 -'+($('.popupMap').width() / 2)+'px'});   
    }
}
